<?php
/**
 * Created by Alan.
 * User: Alan
 * Date: 2018\8\14 0014
 * Time: 4:00
 */

namespace app\api\model;


class ProductImage extends BaseModel
{
    protected $hidden = ['delete_time','img_id','product_id'];

    public function imgUrl(){
        return $this->belongsTo('Image','img_id','id');
    }
}